#ifndef SALESLTEM_H
#define SALESLTEM_H
#include <iostream>
#include <string> 
using namespace std;
class Salesltem
{
	public:
		Salesltem(){};
		Salesltem(string isbn,unsigned int sold,double price0,double price1);
		string isbn(){
			return _bookNo;
		};
		friend istream& operator>> (istream& is,Salesltem& c);
		friend ostream& operator<< (ostream& os,Salesltem& c);
		Salesltem operator= (Salesltem& c);
		Salesltem combine(Salesltem &c);
		~Salesltem(){};
	protected:
		string _bookNo;
		unsigned int _unitsSold;
		double _sellingPrice;
		double _salePrice;
		double _discout;
};

#endif
